package com.rnkrsoft.suyan.config.server.services.file.domains;

import com.rnkrsoft.suyan.config.internal.enums.YesOrNo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.doc.annotation.ApidocElement;
import java.io.Serializable;

/**
 * Created by woate on 2019/5/15.
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateFileRequest implements Serializable{
    @ApidocElement(value = "机器编号")
    String machineId;
    @ApidocElement(value = "文件路径")
    String filePath;
    @ApidocElement(value = "文件名称")
    String fileName;
    @ApidocElement(value = "是否加密", enumClass = YesOrNo.class)
    String fileEncrypt;
    @ApidocElement(value = "真实文件")
    String realFileName;
    @ApidocElement(value = "文件描述")
    String fileDesc;
}
